using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 肺结核随访记录表
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 肺结核随访记录表
    /// </summary>
    [SugarTable("follow_tuberculosisfollowup", TableDescription = "肺结核随访记录表")]
    public class FollowTuberculosisfollowup
    {
        /// <summary>
        /// 随访记录ID
        /// </summary>
        [SugarColumn(ColumnName = "FollowUpId" ,IsIdentity = true, IsPrimaryKey = true)]
        public int FollowUpId{ get; set; }
        
        /// <summary>
        /// 病人ID
        /// </summary>
        [SugarColumn(ColumnName = "PatientId")]
        public string? PatientId{ get; set; }
        
        /// <summary>
        /// 随访医生ID
        /// </summary>
        [SugarColumn(ColumnName = "DoctorID")]
        public int? DoctorID{ get; set; }
        
        /// <summary>
        /// 病历号/档案号
        /// </summary>
        [SugarColumn(ColumnName = "MedicalRecordNumber")]
        public string? MedicalRecordNumber{ get; set; }
        
        /// <summary>
        /// 随访日期
        /// </summary>
        [SugarColumn(ColumnName = "FollowUpDate")]
        public DateTime FollowUpDate{ get; set; }
        
        /// <summary>
        /// 医生诊断
        /// </summary>
        [SugarColumn(ColumnName = "DoctorDiagnosis")]
        public string? DoctorDiagnosis{ get; set; }
        
        /// <summary>
        /// 症状ID
        /// </summary>
        [SugarColumn(ColumnName = "SymptomId")]
        public string? SymptomId{ get; set; }
        
        /// <summary>
        /// 治疗情况
        /// </summary>
        [SugarColumn(ColumnName = "TreatmentStatus")]
        public string? TreatmentStatus{ get; set; }
        
        /// <summary>
        /// 药物详情
        /// </summary>
        [SugarColumn(ColumnName = "MedicationDetails")]
        public string? MedicationDetails{ get; set; }
        
        /// <summary>
        /// 体重（kg）
        /// </summary>
        [SugarColumn(ColumnName = "Weight")]
        public decimal? Weight{ get; set; }
        
        /// <summary>
        /// 体温（摄氏度）
        /// </summary>
        [SugarColumn(ColumnName = "Temperature")]
        public decimal? Temperature{ get; set; }
        
        /// <summary>
        /// 血压
        /// </summary>
        [SugarColumn(ColumnName = "BloodPressure")]
        public string? BloodPressure{ get; set; }
        
        /// <summary>
        /// 呼吸率
        /// </summary>
        [SugarColumn(ColumnName = "RespiratoryRate")]
        public int? RespiratoryRate{ get; set; }
        
        /// <summary>
        /// 脉搏率
        /// </summary>
        [SugarColumn(ColumnName = "PulseRate")]
        public int? PulseRate{ get; set; }
        
        /// <summary>
        /// 实验室检查结果
        /// </summary>
        [SugarColumn(ColumnName = "LaboratoryResults")]
        public string? LaboratoryResults{ get; set; }
        
        /// <summary>
        /// 影像学检查结果
        /// </summary>
        [SugarColumn(ColumnName = "ImagingResults")]
        public string? ImagingResults{ get; set; }
        
        /// <summary>
        /// 随访备注
        /// </summary>
        [SugarColumn(ColumnName = "FollowUpNotes")]
        public string? FollowUpNotes{ get; set; }
        
        /// <summary>
        /// 随访方式（1.门诊 2.家庭 3.电话）
        /// </summary>
        [SugarColumn(ColumnName = "FollowUpMethod")]
        public int? FollowUpMethod{ get; set; }
        
        /// <summary>
        /// 患者类型（1初治2复治）
        /// </summary>
        [SugarColumn(ColumnName = "PatientType")]
        public int? PatientType{ get; set; }
        
        /// <summary>
        /// 痰菌情况（1阳性2阴性3未查痰）
        /// </summary>
        [SugarColumn(ColumnName = "SputumStatus")]
        public int? SputumStatus{ get; set; }
        
        /// <summary>
        /// 耐药情况（1耐药2非耐药3未检测）
        /// </summary>
        [SugarColumn(ColumnName = "DrugResistanceStatus")]
        public int? DrugResistanceStatus{ get; set; }
        
        /// <summary>
        /// 药品剂型（1固定剂量复合制剂2散装药3板式组合药4注射剂）
        /// </summary>
        [SugarColumn(ColumnName = "DrugForm")]
        public int? DrugForm{ get; set; }
        
        /// <summary>
        /// 药品用法（1每日2间歇）
        /// </summary>
        [SugarColumn(ColumnName = "DrugUsage")]
        public int? DrugUsage{ get; set; }
        
        /// <summary>
        /// 通风情况（1良好2一般3差）
        /// </summary>
        [SugarColumn(ColumnName = "VentilationStatus" ,IsIdentity = true, IsPrimaryKey = true)]
        public int VentilationStatus{ get; set; }
        
        /// <summary>
        /// 吸烟（支/天）
        /// </summary>
        [SugarColumn(ColumnName = "SmokingAmount")]
        public string? SmokingAmount{ get; set; }
        
        /// <summary>
        /// 饮酒（量/天）
        /// </summary>
        [SugarColumn(ColumnName = "AlcoholAmount")]
        public string? AlcoholAmount{ get; set; }
        
    }
}